package com.xhs.main.entity.yfb;

import java.util.ArrayList;
import java.util.List;

public class YfbDesignExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YfbDesignExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andYfbDesignIdIsNull() {
            addCriterion("yfb_design_id is null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignIdIsNotNull() {
            addCriterion("yfb_design_id is not null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignIdEqualTo(Integer value) {
            addCriterion("yfb_design_id =", value, "yfbDesignId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignIdNotEqualTo(Integer value) {
            addCriterion("yfb_design_id <>", value, "yfbDesignId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignIdGreaterThan(Integer value) {
            addCriterion("yfb_design_id >", value, "yfbDesignId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("yfb_design_id >=", value, "yfbDesignId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignIdLessThan(Integer value) {
            addCriterion("yfb_design_id <", value, "yfbDesignId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignIdLessThanOrEqualTo(Integer value) {
            addCriterion("yfb_design_id <=", value, "yfbDesignId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignIdIn(List<Integer> values) {
            addCriterion("yfb_design_id in", values, "yfbDesignId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignIdNotIn(List<Integer> values) {
            addCriterion("yfb_design_id not in", values, "yfbDesignId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignIdBetween(Integer value1, Integer value2) {
            addCriterion("yfb_design_id between", value1, value2, "yfbDesignId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignIdNotBetween(Integer value1, Integer value2) {
            addCriterion("yfb_design_id not between", value1, value2, "yfbDesignId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdIsNull() {
            addCriterion("yfb_design_item_id is null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdIsNotNull() {
            addCriterion("yfb_design_item_id is not null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdEqualTo(String value) {
            addCriterion("yfb_design_item_id =", value, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdNotEqualTo(String value) {
            addCriterion("yfb_design_item_id <>", value, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdGreaterThan(String value) {
            addCriterion("yfb_design_item_id >", value, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_design_item_id >=", value, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdLessThan(String value) {
            addCriterion("yfb_design_item_id <", value, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdLessThanOrEqualTo(String value) {
            addCriterion("yfb_design_item_id <=", value, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdLike(String value) {
            addCriterion("yfb_design_item_id like", value, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdNotLike(String value) {
            addCriterion("yfb_design_item_id not like", value, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdIn(List<String> values) {
            addCriterion("yfb_design_item_id in", values, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdNotIn(List<String> values) {
            addCriterion("yfb_design_item_id not in", values, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdBetween(String value1, String value2) {
            addCriterion("yfb_design_item_id between", value1, value2, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignItemIdNotBetween(String value1, String value2) {
            addCriterion("yfb_design_item_id not between", value1, value2, "yfbDesignItemId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortIsNull() {
            addCriterion("yfb_design_developsort is null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortIsNotNull() {
            addCriterion("yfb_design_developsort is not null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortEqualTo(String value) {
            addCriterion("yfb_design_developsort =", value, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortNotEqualTo(String value) {
            addCriterion("yfb_design_developsort <>", value, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortGreaterThan(String value) {
            addCriterion("yfb_design_developsort >", value, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_design_developsort >=", value, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortLessThan(String value) {
            addCriterion("yfb_design_developsort <", value, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortLessThanOrEqualTo(String value) {
            addCriterion("yfb_design_developsort <=", value, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortLike(String value) {
            addCriterion("yfb_design_developsort like", value, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortNotLike(String value) {
            addCriterion("yfb_design_developsort not like", value, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortIn(List<String> values) {
            addCriterion("yfb_design_developsort in", values, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortNotIn(List<String> values) {
            addCriterion("yfb_design_developsort not in", values, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortBetween(String value1, String value2) {
            addCriterion("yfb_design_developsort between", value1, value2, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDevelopsortNotBetween(String value1, String value2) {
            addCriterion("yfb_design_developsort not between", value1, value2, "yfbDesignDevelopsort");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdIsNull() {
            addCriterion("yfb_design_designsort_id is null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdIsNotNull() {
            addCriterion("yfb_design_designsort_id is not null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdEqualTo(Integer value) {
            addCriterion("yfb_design_designsort_id =", value, "yfbDesignDesignsortId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdNotEqualTo(Integer value) {
            addCriterion("yfb_design_designsort_id <>", value, "yfbDesignDesignsortId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdGreaterThan(Integer value) {
            addCriterion("yfb_design_designsort_id >", value, "yfbDesignDesignsortId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("yfb_design_designsort_id >=", value, "yfbDesignDesignsortId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdLessThan(Integer value) {
            addCriterion("yfb_design_designsort_id <", value, "yfbDesignDesignsortId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdLessThanOrEqualTo(Integer value) {
            addCriterion("yfb_design_designsort_id <=", value, "yfbDesignDesignsortId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdIn(List<Integer> values) {
            addCriterion("yfb_design_designsort_id in", values, "yfbDesignDesignsortId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdNotIn(List<Integer> values) {
            addCriterion("yfb_design_designsort_id not in", values, "yfbDesignDesignsortId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdBetween(Integer value1, Integer value2) {
            addCriterion("yfb_design_designsort_id between", value1, value2, "yfbDesignDesignsortId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignDesignsortIdNotBetween(Integer value1, Integer value2) {
            addCriterion("yfb_design_designsort_id not between", value1, value2, "yfbDesignDesignsortId");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentIsNull() {
            addCriterion("yfb_design_content is null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentIsNotNull() {
            addCriterion("yfb_design_content is not null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentEqualTo(String value) {
            addCriterion("yfb_design_content =", value, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentNotEqualTo(String value) {
            addCriterion("yfb_design_content <>", value, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentGreaterThan(String value) {
            addCriterion("yfb_design_content >", value, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_design_content >=", value, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentLessThan(String value) {
            addCriterion("yfb_design_content <", value, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentLessThanOrEqualTo(String value) {
            addCriterion("yfb_design_content <=", value, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentLike(String value) {
            addCriterion("yfb_design_content like", value, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentNotLike(String value) {
            addCriterion("yfb_design_content not like", value, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentIn(List<String> values) {
            addCriterion("yfb_design_content in", values, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentNotIn(List<String> values) {
            addCriterion("yfb_design_content not in", values, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentBetween(String value1, String value2) {
            addCriterion("yfb_design_content between", value1, value2, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignContentNotBetween(String value1, String value2) {
            addCriterion("yfb_design_content not between", value1, value2, "yfbDesignContent");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeIsNull() {
            addCriterion("yfb_design_createtime is null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeIsNotNull() {
            addCriterion("yfb_design_createtime is not null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeEqualTo(String value) {
            addCriterion("yfb_design_createtime =", value, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeNotEqualTo(String value) {
            addCriterion("yfb_design_createtime <>", value, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeGreaterThan(String value) {
            addCriterion("yfb_design_createtime >", value, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_design_createtime >=", value, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeLessThan(String value) {
            addCriterion("yfb_design_createtime <", value, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeLessThanOrEqualTo(String value) {
            addCriterion("yfb_design_createtime <=", value, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeLike(String value) {
            addCriterion("yfb_design_createtime like", value, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeNotLike(String value) {
            addCriterion("yfb_design_createtime not like", value, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeIn(List<String> values) {
            addCriterion("yfb_design_createtime in", values, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeNotIn(List<String> values) {
            addCriterion("yfb_design_createtime not in", values, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeBetween(String value1, String value2) {
            addCriterion("yfb_design_createtime between", value1, value2, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignCreatetimeNotBetween(String value1, String value2) {
            addCriterion("yfb_design_createtime not between", value1, value2, "yfbDesignCreatetime");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionIsNull() {
            addCriterion("yfb_design_version is null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionIsNotNull() {
            addCriterion("yfb_design_version is not null");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionEqualTo(String value) {
            addCriterion("yfb_design_version =", value, "yfbDesignVersion");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionNotEqualTo(String value) {
            addCriterion("yfb_design_version <>", value, "yfbDesignVersion");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionGreaterThan(String value) {
            addCriterion("yfb_design_version >", value, "yfbDesignVersion");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionGreaterThanOrEqualTo(String value) {
            addCriterion("yfb_design_version >=", value, "yfbDesignVersion");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionLessThan(String value) {
            addCriterion("yfb_design_version <", value, "yfbDesignVersion");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionLessThanOrEqualTo(String value) {
            addCriterion("yfb_design_version <=", value, "yfbDesignVersion");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionLike(String value) {
            addCriterion("yfb_design_version like", value, "yfbDesignVersion");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionNotLike(String value) {
            addCriterion("yfb_design_version not like", value, "yfbDesignVersion");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionIn(List<String> values) {
            addCriterion("yfb_design_version in", values, "yfbDesignVersion");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionNotIn(List<String> values) {
            addCriterion("yfb_design_version not in", values, "yfbDesignVersion");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionBetween(String value1, String value2) {
            addCriterion("yfb_design_version between", value1, value2, "yfbDesignVersion");
            return (Criteria) this;
        }

        public Criteria andYfbDesignVersionNotBetween(String value1, String value2) {
            addCriterion("yfb_design_version not between", value1, value2, "yfbDesignVersion");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}